package com.iu.eblood.serviceImpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.iu.eblood.daoImpl.DonatationMethodDaoImpl;
import com.iu.eblood.model.Donationmethod;
import com.iu.eblood.serviceInterfaces.DonatationMethodService;

@Service(value="donatationMethodImpl")
public class DonatationMethodImpl
implements DonatationMethodService
{
	
	@Autowired
	DonatationMethodDaoImpl donatationMethodDaoImpl;

	public List<Donationmethod> getAllDonationMethod(){
		return (List<Donationmethod>) donatationMethodDaoImpl.loadAll();
	}
}
